package main.tests.resources;

import junit.framework.Assert;
import main.resources.Resource;

import org.junit.Test;

public class TestResources 
{
	/*@Test
	public void testGetStringTitle()
	{
		Assert.assertEquals("KHL Explorer", Resource.getString("application.tile"));
	}
	
	@Test
	public void testGetStringLabels()
	{
		Assert.assertEquals("KHL Explorer", Resource.getString("application.tile"));
	}
	
	@Test
	public void testGetStringUnexistent()
	{
		Assert.assertEquals("unexistent.none", Resource.getString("unexistent.none"));
	}
	
	@Test
	public void testGetIconExit()
	{
		//Assert.assertEquals(new ImageIcon("src/main/resources/exit.gif"), Resource.getIcon("exit.gif"));
	}*/
	
	@Test
	public void testGetIconUnexistent()
	{
		Assert.assertEquals(null, Resource.getIcon("unexistent.gif"));
	}
	
}
